<template>
    <div class="tile-item block">
        <img :src="data.src" alt="">
    </div>
</template>
<script>
import { toRefs } from '@vue/reactivity'
export default {
    props:['data'],
    setup(props,context) {
        const state = props
        return {
            ...toRefs(state)
        }
    },
}
</script>
<style lang="less" scoped>
    .tile-item {
        padding: 2px;
        display: inline-block;
        img {
            width: 40px;
        }
    }
</style>